package com.stms.service;

import com.stms.pojo.Invoice;
import com.stms.pojo.Purchase;
import org.springframework.data.domain.Page;

public interface InvoiceService {
    public boolean addInvoice(Invoice invoice);

    public boolean editInvoice(Invoice invoice);

    public void deleteBatch(String invoiceIds);

    public Page<Invoice> fuzzyQuery(Integer pageNum, Integer pageSize, String direction, Invoice invoice);

    public Page<Invoice> findByPage(Integer pageNum, Integer pageSize);
}
